package com.yidu.drug.dao;

import java.util.List;

import com.yidu.drug.model.MemberModel;

public interface MemberModelMapper {
    int deleteByPrimaryKey(String memberId);

    int insert(MemberModel record);

    int insertSelective(MemberModel record);

    MemberModel selectByPrimaryKey(String memberId);

    int updateByPrimaryKeySelective(MemberModel record);

    int updateByPrimaryKey(MemberModel record);
    
    List<MemberModel> findAll(MemberModel memberModel);
	
	Long findRows(MemberModel memberModel);
	
	MemberModel findByName(String memberName);
	
	int updateById(String memberId);

	/**
	 * @return
	 */
	List<MemberModel> findAllMember();
	
	/**
	 * 查询会员
	 * @param memberPhone
	 * @return
	 */
	public Integer sjhm(Long memberPhone);
	/**
	 * 根据手机号码查询id
	 * @param memberPhone
	 * @return
	 */
	public String findsjById(Long memberPhone);
}